<h1>Listing lecture_ratings</h1>

<table>
  <tr>
    <th>Id</th>
    <th>Lecture</th>
    <th>User id</th>
    <th>Difficulty</th>
    <th>Work load</th>
    <th>Rating</th>
    <th>Comment</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @lecture_ratings.each do |lecture_rating| %>
  <tr>
    <td><%= lecture_rating.id %></td>
    <td><%= lecture_rating.lecture_id %></td>
    <td><%= lecture_rating.user_id %></td>
    <td><%= lecture_rating.difficulty %></td>
    <td><%= lecture_rating.work_load %></td>
    <td><%= lecture_rating.rating %></td>
    <td><%= lecture_rating.comment %></td>
    <td><%= link_to 'Show', lecture_rating %></td>
    <td><%= link_to 'Edit', edit_lecture_rating_path(lecture_rating) %></td>
    <td><%= link_to 'Destroy', lecture_rating, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Lecture rating', new_lecture_rating_path %>
